/**
 * Created with IntelliJ IDEA
 * Description:
 * User:恋恋
 * Date:2022-03-19
 * Time:23:19
 */
public class Year {
    public static void main(String[] args) {
        //产生1000到2000的数字
        for (int i = 1000; i <=2000 ; i++) {
            if(i%100==0&&i%4==0){
                System.out.println(i+"是世纪闰年");
            }else if(i%400==0){
                System.out.println(i+"是普通闰年");
            }

        }
    }
}
